export default [
    {
        path: '/material/add',
        name: 'material-add',
        meta: {
            title: '增加物品',
            hideTabbar: true
        },
        component: () => import('../../views/Material/Add/AddView.vue')
    },
    {
        path: '/material/check',
        name: 'material-check',
        meta: {
            title: '库存清点',
            hideTabbar: true
        },
        component: () => import('../../views/Material/Check/CheckView.vue')
    },
    {
        path: '/material/check/info/:id',
        name: 'material-check-info',
        meta: {
            title: '盘点单',
            hideTabbar: true
        },
        component: () => import('../../views/Material/Check/Info/CheckInfo.vue')
    },
    {
        path: '/material/search',
        name: 'material-search',
        meta: {
            title: '库存查询',
            hideTabbar: true
        },
        component: () => import('../../views/Material/Search/SearchView.vue')
    },
    {
        path: '/material/receive',
        name: 'material-receive',
        meta: {
            title: '物品领用',
            hideTabbar: true,
            keepAlive: true
        },
        component: () => import('../../views/Material/Receive/ReceiveView.vue')
    },
    {
        path: '/material/put',
        name: 'material-put',
        meta: {
            title: '物品入库',
            hideTabbar: true
        },
        component: () => import('../../views/Material/Put/PutView.vue')
    },
    {
        path: '/material/warning',
        name: 'material-warning',
        meta: {
            title: '库存预警',
            hideTabbar: true
        },
        component: () => import('../../views/Material/Warning/WarningView.vue')
    },
    {
        path: '/material',
        name: 'material',
        meta: {
            title: '物品管理',
            hideTabbar: true
        },
        component: () => import('../../views/Material/IndexView.vue')
    },
    {
        path: '/material/info/:id',
        name: 'material-info',
        meta: {
            title: '物品信息',
            hideTabbar: true
        },
        component: () => import('../../views/Material/Info/InfoView.vue')
    },
]
